package com.tjl.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-08-26 11:53:55
 * @describe 实体类
 */
@TableName("l_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "LUser对象", description = "")
public class LUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "手机号码")
    @TableField("telephone")
    private String telephone;

    @ApiModelProperty(value = "密码")
    @TableField("pwd")
    private String pwd;

    @ApiModelProperty(value = "昵称")
    @TableField("nickname")
    private String nickname;

    @ApiModelProperty(value = "性别: 0 女，1 男，2 未知")
    @TableField("sex")
    private Boolean sex;

    @ApiModelProperty(value = "生日")
    @TableField("birthday")
    private Date birthday;

    @ApiModelProperty(value = "身高")
    @TableField("stature")
    private Integer stature;

    @ApiModelProperty(value = "体重")
    @TableField("weight")
    private Integer weight;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Integer createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Integer updateTime;

    @ApiModelProperty(value = "删除时间")
    @TableField("delete_time")
    private Integer deleteTime;


    public String getId() {
        return id;
    }

    public LUser setId(String id) {
        this.id = id;
        return this;
    }

    public String getTelephone() {
        return telephone;
    }

    public LUser setTelephone(String telephone) {
        this.telephone = telephone;
        return this;
    }

    public String getPwd() {
        return pwd;
    }

    public LUser setPwd(String pwd) {
        this.pwd = pwd;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public LUser setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public Boolean getSex() {
        return sex;
    }

    public LUser setSex(Boolean sex) {
        this.sex = sex;
        return this;
    }

    public Date getBirthday() {
        return birthday;
    }

    public LUser setBirthday(Date birthday) {
        this.birthday = birthday;
        return this;
    }

    public Integer getStature() {
        return stature;
    }

    public LUser setStature(Integer stature) {
        this.stature = stature;
        return this;
    }

    public Integer getWeight() {
        return weight;
    }

    public LUser setWeight(Integer weight) {
        this.weight = weight;
        return this;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public LUser setCreateTime(Integer createTime) {
        this.createTime = createTime;
        return this;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public LUser setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public Integer getDeleteTime() {
        return deleteTime;
    }

    public LUser setDeleteTime(Integer deleteTime) {
        this.deleteTime = deleteTime;
        return this;
    }

    @Override
    public String toString() {
        return "LUser{" +
                "id=" + id +
                ", telephone=" + telephone +
                ", pwd=" + pwd +
                ", nickname=" + nickname +
                ", sex=" + sex +
                ", birthday=" + birthday +
                ", stature=" + stature +
                ", weight=" + weight +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", deleteTime=" + deleteTime +
                "}";
    }
}